﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true"
    CodeFile="ABMUsuario.aspx.cs" Inherits="TecnoPezWeb.Modules.Seguridad.ABMUsuario"
    Title="Untitled Page" %>

<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc3" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
<asp:Wizard id="wzrABM" runat="server" DisplaySideBar="False" Font-Size="0.8em" Font-Names="Verdana" BorderWidth="0px" BorderColor="#B5C7DE" ActiveStepIndex="0">
<StepStyle ForeColor="#333333" Font-Size="0.8em" VerticalAlign="Top"></StepStyle>

<SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top"></SideBarStyle>

<NavigationButtonStyle BackColor="White" BorderStyle="Solid" ForeColor="#284E98" BorderWidth="1px" BorderColor="#507CD1" Font-Size="0.8em" Font-Names="Verdana"></NavigationButtonStyle>
<WizardSteps>
<asp:WizardStep runat="server" ID="wzrBusqueda" Title="Busqueda" StepType="Complete"><TABLE style="WIDTH: 100%" id="TableData" cellSpacing=0><TBODY><TR><TD class="cabeceraTabla" colSpan=3>Buscar Usuarios</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Nombre" Width="200px" ID="lblBuscarNombre" __designer:wfdid="w96"></asp:Label>
 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtBuscarNombre" __designer:wfdid="w97"></asp:TextBox>
 </TD><TD vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdBuscar" Width="102px" CssClass="Boton" Text="Buscar" Height="23px" BorderStyle="None" __designer:wfdid="w98"></asp:Button>
 <asp:Button runat="server" ID="cmdNuevo" Width="102px" CssClass="Boton" Text="Nuevo" Height="23px" __designer:wfdid="w99" OnClick="cmdNuevo_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Estado" Width="200px" ID="lblBaja" __designer:wfdid="w100"></asp:Label>
 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:CheckBoxList runat="server" ID="chkBuscarEstado" __designer:wfdid="w101"><asp:ListItem Selected="True" Value="1">Activos</asp:ListItem>
<asp:ListItem Selected="True" Value="0">Inactivos</asp:ListItem>
</asp:CheckBoxList>
 </TD></TR><TR><TD style="HEIGHT: 170px" colSpan=3><uc2:TecnopezDataGRIDABMView runat="server" ID="grdUsuarios" __designer:wfdid="w102"></uc2:TecnopezDataGRIDABMView>
 </TD></TR></TBODY></TABLE></asp:WizardStep>
<asp:WizardStep runat="server" ID="wzrEdicion" Title="Edicion" StepType="Complete"><TABLE cellSpacing=0 width="100%"><TBODY><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" colSpan=4>Datos del Usuario</TD></TR><TR><TD style="WIDTH: 200px; HEIGHT: 26px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo" Width="200px" ID="Label1" __designer:wfdid="w179"></asp:Label>
 </TD><TD style="WIDTH: 205px; HEIGHT: 26px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtID" __designer:wfdid="w180"></asp:TextBox>
 </TD><TD style="WIDTH: 1px; HEIGHT: 26px" class="columnaData">&nbsp;</TD><TD style="WIDTH: 6px" vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdEditar" Width="102px" CssClass="Boton" Text="Editar" Height="23px" CausesValidation="False" __designer:wfdid="w181" OnClick="cmdEditar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdEliminar" Width="102px" CssClass="Boton" Text="Eliminar" Height="23px" CausesValidation="False" __designer:wfdid="w182" OnClick="cmdEliminar_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Nombre" Width="200px" ID="Label2" __designer:wfdid="w183"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtNombre" __designer:wfdid="w184"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData"><asp:RequiredFieldValidator runat="server" ErrorMessage="Ingrese un nombre" ControlToValidate="txtNombre" ID="RFVNombre" __designer:wfdid="w185">*</asp:RequiredFieldValidator>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Contrase&#241;a" Width="200px" ID="lblContrasenia" __designer:wfdid="w186"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtContrasenia" TextMode="Password" __designer:wfdid="w187"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData"><asp:RequiredFieldValidator runat="server" ControlToValidate="txtContrasenia" ID="RFVContrasenia" __designer:wfdid="w188">*</asp:RequiredFieldValidator>
 </TD><TD style="WIDTH: 6px"></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Estado" Width="200px" ID="Label5" __designer:wfdid="w189"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:CheckBox runat="server" Text="Estado" ID="chkEstado" __designer:wfdid="w190"></asp:CheckBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Rol" Width="200px" ID="Label3" __designer:wfdid="w191"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><uc3:TecnoPezPopUp runat="server" ID="TPPRol" __designer:wfdid="w192"></uc3:TecnoPezPopUp>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Empleado" Width="200px" ID="Label4" __designer:wfdid="w194"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><uc3:TecnoPezPopUp runat="server" ID="TPPEmpleado" __designer:wfdid="w195"></uc3:TecnoPezPopUp>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom><asp:Button runat="server" ID="cmdAceptar" Width="102px" CssClass="Boton" Text="Aceptar" Height="23px" __designer:wfdid="w197" OnClick="cmdAceptar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdCancelar" Width="102px" CssClass="Boton" Text="Cancelar" Height="23px" CausesValidation="False" __designer:wfdid="w198" OnClick="cmdCancelar_Click"></asp:Button>
 </TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2><asp:Label runat="server" CssClass="errorLabel" ID="_lblError" __designer:wfdid="w199"></asp:Label>
 <BR /><cc2:PropertyProxyValidator runat="server" ID="PPVNombre" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName="" __designer:wfdid="w200"></cc2:PropertyProxyValidator>
 <BR /><cc2:PropertyProxyValidator runat="server" ID="PPVContrasenia" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName="" __designer:wfdid="w201"></cc2:PropertyProxyValidator>
 <BR /><cc2:PropertyProxyValidator runat="server" ID="PPVEmpleado" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName="" __designer:wfdid="w35" OnValueConvert="PPVEmpleado_ValueConvert"></cc2:PropertyProxyValidator>
 <BR /><cc2:PropertyProxyValidator runat="server" ID="PPVRol" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName="" __designer:wfdid="w36" OnValueConvert="PPVRol_ValueConvert"></cc2:PropertyProxyValidator>
 </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 6px; HEIGHT: 25px" vAlign=top></TD></TR></TBODY></TABLE></asp:WizardStep>
</WizardSteps>

<SideBarButtonStyle BackColor="#507CD1" ForeColor="White" Font-Names="Verdana"></SideBarButtonStyle>

<HeaderStyle BackColor="#284E98" BorderStyle="Solid" ForeColor="White" BorderWidth="2px" BorderColor="#EFF3FB" HorizontalAlign="Center" Font-Size="0.9em" Font-Bold="True"></HeaderStyle>
</asp:Wizard> 
</ContentTemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
    
</asp:Content>